/**
 * 弹出层
 */
export default {
  data() {
    return {
      visible: false
    }
  },
  methods: {
    show() {
      this.visible = true;
      this.$emit("show")
    },
    hide() {
      this.visible = false
      this.$emit("hide")
    }
  }
}
